import net.optix.ip.model.ModelLocator;
import net.optix.ip.vo.InventionVO;
import views.ViewInstance;

[Bindable]
private var model:ModelLocator	=	ModelLocator.getInstance();

private var _invention:InventionVO;

public function set invention(value:InventionVO):void
{
	_invention	=	value;
	if(_invention.status == 9)
	{
		this.visible	=	true;
	}
	else
	{
		this.visible	=	false;
	}
}

public function get invention():InventionVO
{
	return _invention;
}

private function renewalFee():void
{
	model.actionView	=	0;
	model.actionView	=	ViewInstance.RenewalFee;
}